travis-ci: Run `make distcheck` too
authorSimon McVittie <simon.mcvittie@collabora.co.uk>
Mon, 28 Nov 2016 17:24:08 +0000 (17:24 +0000)
committerAtomic Bot <atomic-devel@projectatomic.io>
Tue, 29 Nov 2016 14:11:50 +0000 (14:11 +0000)
ostree is now actively using that mode.

Signed-off-by: Simon McVittie <simon.mcvittie@collabora.co.uk>
Closes: #600
Approved by: cgwalters

tests/ci-build.sh

index 675a9a316cc789a34ecee19b0bb7ac8f7d18fbdc..e4ec703b0818d940c4e817dfd572233e0a7429eb 100755 (executable)
@@ -66,10 +66,10 @@ make="make -j${ci_parallel} V=1 VERBOSE=1"
 ${make}
 [ "$ci_test" = no ] || ${make} check || maybe_fail_tests
 cat test/test-suite.log || :
-# TODO: if ostree aims to support distcheck, run that too
+[ "$ci_test" = no ] || ${make} distcheck || maybe_fail_tests
+cat test/test-suite.log || :
 
 ${make} install DESTDIR=$(pwd)/DESTDIR
-
 ( cd DESTDIR && find . )
 
 if [ "$ci_sudo" = yes ] && [ "$ci_test" = yes ]; then